
/**
 * AppleIIGo
 * TimeMaster II H.O. class
 * (C) 2008 by Marc S. Ressl (mressl@umich.edu)
 * Released under the GPL
 */

#ifndef TIMEMASTERIIHO_H
#define TIMEMASTERIIHO_H

#define TIMEMASTERIIHO_ROM_BYTENUM 0x1000

#include "SlotDevice.h"

class TimeMasterIIHO : public SlotDevice {
public:
	TimeMasterIIHO(class Motherboard * motherboard, char * slotDeviceName);
	
	void onMemoryRequested();
	void onMemoryAllocated();
	
	void writeIo(UINT16 address, UINT8 value);
	UINT8 readIo(UINT16 address);
	
	UINT8 readMemory(UINT16 address);
	
private:
	UINT32 romMemoryOffset;
	UINT8 * romMemory;
};

#endif
